package com.kaigejava.DecoratorModelzhuangshizhe.coffeebar.coffee;

import com.kaigejava.DecoratorModelzhuangshizhe.coffeebar.DrinkComponent;

/**
 * Created by kaigejava on 2019/8/13.
 * 所有咖啡的超类
 */
public class Coffee extends DrinkComponent {

    @Override
    public Float cost() {
        return super.getPrice();
    }
}
